package mystack;

import java.util.Stack;

public class TestDemo {
    public static void main(String[] args) {
        MyStack<String> stack = new MyStack<>();
        stack.push("ads");
        stack.push("salad");
        stack.push("seal");
        stack.push("saddle");
        System.out.println(stack.pop());
        System.out.println(stack.peek());
    }
}
